org.eclipse.vtp.framework.interactions.core.commands
Class TransferMessageCommand

java.lang.Object
  extended by org.eclipse.vtp.framework.interactions.core.commands.ConversationCommand
      extended by org.eclipse.vtp.framework.interactions.core.commands.TransferMessageCommand
All Implemented Interfaces:
ICommand

public final class TransferMessageCommand
extends ConversationCommand

A command that sends a transfer ending to the user.

Author:
Lonnie Pryor

Field Summary
 
Fields inherited from class org.eclipse.vtp.framework.interactions.core.commands.ConversationCommand
INPUT_TYPE_CUSTOM, INPUT_TYPE_FILE, OUTPUT_TYPE_FILE, OUTPUT_TYPE_TEXT
 
Constructor Summary
TransferMessageCommand()
          Creates a new TransferMessageCommand.
 
Method Summary
 java.lang.Object exportContents()
          Exports the contents of this command to a simple structure of arrays and serializable values from java.lang.
 java.lang.String getDestination()
          Returns the destination to transfer to.
 void importContents(java.lang.Object contents)
          Configures the contents of this command with a structure previously returned from ICommand.exportContents().
 void setDestination(java.lang.String destination)
          Sets the destination to transfer to.
 
Methods inherited from class org.eclipse.vtp.framework.interactions.core.commands.ConversationCommand
accept
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransferMessageCommand

public TransferMessageCommand()
Creates a new TransferMessageCommand.

Method Detail

getDestination

public java.lang.String getDestination()
Returns the destination to transfer to.

Returns:
The destination to transfer to.

setDestination

public void setDestination(java.lang.String destination)
Sets the destination to transfer to.

Parameters:
destination - The destination to transfer to.

exportContents

public java.lang.Object exportContents()
Description copied from interface: ICommand
Exports the contents of this command to a simple structure of arrays and serializable values from java.lang.

Returns:
A serializable structure this command can be re-constituted from.

importContents

public void importContents(java.lang.Object contents)
Description copied from interface: ICommand
Configures the contents of this command with a structure previously returned from ICommand.exportContents().

Parameters:
contents - The exported contents structure to load from.